<template>
    <div class="all">
        <too></too>
        <div class="top">
            <div class="top_tit">项目案例 - 你在哪APP - APP详情页</div>
        </div>
        <div class="foot">
            <img :src="this.$route.params.url" class="foot_img"/>
        </div>
    </div>
</template>

<script>
import too from '../components/too'
export default {
  name: '/details',
  components:{
    too,

  },
  data () {
    return {

      }
    },
    mounted () {
        this.$router.afterEach((to, from, next) => {
            window.scrollTo(0, 0)
        })
    }
}
</script>

<!-- Add "scoped" attribute to limit CSS to this component only -->
<style scoped>
.all{
    width: 100%;
    font-size: 0.3rem;
    color: #333333;
}
.top{
    width: 100%;
    height: 5.6rem;
    background: url('../assets/dtbg.png') no-repeat;
    background-size: 100% 100%;
}
.top_tit{
    font-size: 0.35rem;
    color: #FFF;
    height: 100%;
    letter-spacing: 0.02rem;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    margin-right: 2rem;
}
.foot{
    width: 80%;
    position: relative;
    top: -2.3rem;
    left: 10%;
}
.foot_img{
    width: 100%;
    height: auto;
}
</style>
